﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.ServiceModel;
namespace y.WcfFirst.Host.Services
{
    [ServiceBehavior]
    public class HelloService:IHello
    {
        [OperationBehavior]
        public string Say(string name)
        {
            Console.WriteLine("Receive from Client:{0}", name);
            return string.Format("Hello {0}!", name);
        }
    }
}
